import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '物品Id',
            dataIndex: 'accountGoodsId',
            width: 200,
        },
        {
            title: '预约',
            dataIndex: 'appointType',
            width: 200,
        },
        {
            title: '贵宾厅/贵宾通道Id',
            dataIndex: 'targetId',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'vipCardNo',
            width: 200,
        },
        {
            title: '航班号',
            dataIndex: 'flightNumber',
            width: 200,
        },
        {
            title: '起飞时间',
            dataIndex: 'takeOffTime',
            width: 200,
        },
        {
            title: '始发地',
            dataIndex: 'originatingPlace',
            width: 200,
        },
        {
            title: '到达地',
            dataIndex: 'destinationPlace',
            width: 200,
        },
        {
            title: '姓名',
            dataIndex: 'userName',
            width: 200,
        },
        {
            title: '航班日期',
            dataIndex: 'flightDate',
            width: 200,
        },
        {
            title: '证件类型（1身份证，2护照,3港澳通行证，4台胞证）',
            dataIndex: 'identityType',
            width: 200,
        },
        {
            title: '证件号',
            dataIndex: 'identityNo',
            width: 200,
        },
        {
            title: '电话',
            dataIndex: 'phone',
            width: 200,
        },
        {
            title: '预约操作者',
            dataIndex: 'accountId',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'orderdetailId',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'appointmentState',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'remindWay',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'soureType',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'useCode',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'appointmentUseNum',
            width: 200,
        },
        {
            title: '',
            dataIndex: 'createDate',
            width: 200,
        },
        {
            title: '是否删除',
            dataIndex: 'deleted',
            width: 200,
        },
        {
            title: '更新人',
            dataIndex: 'updateUser',
            width: 200,
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            width: 200,
        },
        {
            title: '创建人',
            dataIndex: 'createUser',
            width: 200,
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '物品Id',
            field: 'accountGoodsId',
            component: 'Input',
            required: true,
        },
        {
            label: '预约',
            field: 'appointType',
            component: 'Input',
            required: true,
        },
        {
            label: '贵宾厅/贵宾通道Id',
            field: 'targetId',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'vipCardNo',
            component: 'Input',
            required: true,
        },
        {
            label: '航班号',
            field: 'flightNumber',
            component: 'Input',
            required: true,
        },
        {
            label: '起飞时间',
            field: 'takeOffTime',
            component: 'Input',
            required: true,
        },
        {
            label: '始发地',
            field: 'originatingPlace',
            component: 'Input',
            required: true,
        },
        {
            label: '到达地',
            field: 'destinationPlace',
            component: 'Input',
            required: true,
        },
        {
            label: '姓名',
            field: 'userName',
            component: 'Input',
            required: true,
        },
        {
            label: '航班日期',
            field: 'flightDate',
            component: 'Input',
            required: true,
        },
        {
            label: '证件类型（1身份证，2护照,3港澳通行证，4台胞证）',
            field: 'identityType',
            component: 'Input',
            required: true,
        },
        {
            label: '证件号',
            field: 'identityNo',
            component: 'Input',
            required: true,
        },
        {
            label: '电话',
            field: 'phone',
            component: 'Input',
            required: true,
        },
        {
            label: '预约操作者',
            field: 'accountId',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'orderdetailId',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'appointmentState',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'remindWay',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'soureType',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'useCode',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'appointmentUseNum',
            component: 'Input',
            required: true,
        },
        {
            label: '',
            field: 'createDate',
            component: 'Input',
            required: true,
        },
        {
            label: '是否删除',
            field: 'deleted',
            component: 'Input',
            required: true,
        },
        {
            label: '更新人',
            field: 'updateUser',
            component: 'Input',
            required: true,
        },
        {
            label: '更新时间',
            field: 'updateTime',
            component: 'Input',
            required: true,
        },
        {
            label: '创建人',
            field: 'createUser',
            component: 'Input',
            required: true,
        },
        {
            label: '创建时间',
            field: 'createTime',
            component: 'Input',
            required: true,
        },
];
